
package cn.neusoft.mapper;

import java.sql.SQLException;
import java.util.List;

public interface BaseMapper<T>{
	public int add(T t) throws SQLException;
	public int update(T t) throws SQLException;
	public int delete(Integer id) throws SQLException;
	public T getById(Integer id) throws SQLException;
	public List<T> getAll() throws SQLException;
}

